package com.test.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

// 图书实体类

@Data
public class Book {

    private int bookId;
    private int biNumber;
    private String pressNumber;
    private String bookName;
    private Date pressTime;
    private String writerName;
    private BigDecimal price;
    private boolean inLibrary;
}


//    /*==============================================================*/
//    /* Table: Book                                                  */
//    /*==============================================================*/
//    create table Book
//        (
//                bookId               int not null AUTO_INCREMENT,
//                biNumber             int not null,
//                pressNumber          char(4) not null,
//                bookName             varchar(30) not null,
//                pressTime            datetime not null,
//                writerName           varchar(20) not null,
//                price                decimal(10,2) not null,
//                inLibrary            bool not null,
//                primary key (bookId)
//        );